package com.jixing.rengran.huaji.mvp.model.service;


import com.jixing.rengran.huaji.mvp.model.bean.HttpData;
import com.jixing.rengran.huaji.mvp.model.bean.UserBean;

import io.reactivex.Flowable;
import retrofit2.http.POST;
import retrofit2.http.Query;

/**
 * Created by l5544 on 2017/11/6.
 */

public interface StaticService {
    @POST("index/index/login")
    Flowable<HttpData<UserBean>> login(@Query("username") String Username,@Query("password") String Password);
    @POST("index/index/reg")
    Flowable<HttpData<UserBean>> reg(@Query("username") String Username,@Query("password") String Password,@Query("vpassword") String VPassword,@Query("password") String vPassword);

}
